/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package abstractmodel;

import java.util.ArrayList;

/**
 *
 * @author littlechild
 */
public interface IBook extends java.io.Serializable {
    IInfo getBookInfo();
    boolean setBookInfo(IInfo info);
    boolean addNewAccount(IAccount account);
    boolean deleteAccount(IAccount account);
    ArrayList<IAccount> getAccounts();
    model.StatisticsInfo getStatistics(StatisticsType type);
    double getTotalLeftMoney();
    ArrayList<IAccount> getAccountsLeftMoneyMoreThan(double d);
    IUser getOwnerUser();
}
